package com.wfk.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 提现申请记录表
 * </p>
 *
 * @since 2019-01-07
 */
@TableName("t_sys_cash_details")
public class SysCashDetails implements Serializable {

	private static final long serialVersionUID = 1L;
	@TableField(exist=false)
	private String start;
	@TableField(exist=false)
	private String end;
	@TableField(exist=false)
	private String payword;
	
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 流水号
	 */
	private String paycode;

	/**
	 * 提现人id
	 */
	private Integer targetid;

	/**
	 * 提现人真实名称
	 */
	private String realname;

	/**
	 * 身份证号
	 */
	private String idcard;

	/**
	 * 银行名称
	 */
	private String bankname;

	/**
	 * 银行卡号
	 */
	private String bankcode;

	/**
	 * 银行卡绑定手机
	 */
	private String phone;

	/**
	 * 开户行地址
	 */
	private String bankaddr;

	/**
	 * 提现金额
	 */
	private BigDecimal cashmoney;

	/**
	 * 实际应到账金额
	 */
	private BigDecimal realmoney;

	/**
	 * 创建时间
	 */
	private Date createtime;

	/**
	 * 审核完成时间
	 */
	private Date endtime;

	/**
	 * 1打款中  2已打款 3驳回
	 */
	private Integer status;

	/**
	 * 驳回备注
	 */
	private String remark;

	private Integer type;

	/**
	 * 对应银行卡列表id
	 */
	private Integer bankid;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPaycode() {
		return paycode;
	}

	public void setPaycode(String paycode) {
		this.paycode = paycode;
	}

	public Integer getTargetid() {
		return targetid;
	}

	public void setTargetid(Integer targetid) {
		this.targetid = targetid;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getBankname() {
		return bankname;
	}

	public void setBankname(String bankname) {
		this.bankname = bankname;
	}

	public String getBankcode() {
		return bankcode;
	}

	public void setBankcode(String bankcode) {
		this.bankcode = bankcode;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setPayword(String payword) {
		this.payword = payword;
	}
	public String getPayword() {
		return payword;
	}
	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public String getEnd() {
		return end;
	}

	public void setEnd(String end) {
		this.end = end;
	}

	public String getBankaddr() {
		return bankaddr;
	}

	public void setBankaddr(String bankaddr) {
		this.bankaddr = bankaddr;
	}

	public BigDecimal getCashmoney() {
		return cashmoney;
	}

	public void setCashmoney(BigDecimal cashmoney) {
		this.cashmoney = cashmoney;
	}

	public BigDecimal getRealmoney() {
		return realmoney;
	}

	public void setRealmoney(BigDecimal realmoney) {
		this.realmoney = realmoney;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getBankid() {
		return bankid;
	}

	public void setBankid(Integer bankid) {
		this.bankid = bankid;
	}

	@Override
	public String toString() {
		return "SysCashDetails{" +
				"id=" + id +
				", paycode=" + paycode +
				", targetid=" + targetid +
				", realname=" + realname +
				", idcard=" + idcard +
				", bankname=" + bankname +
				", bankcode=" + bankcode +
				", phone=" + phone +
				", bankaddr=" + bankaddr +
				", cashmoney=" + cashmoney +
				", realmoney=" + realmoney +
				", createtime=" + createtime +
				", endtime=" + endtime +
				", status=" + status +
				", remark=" + remark +
				", type=" + type +
				", bankid=" + bankid +
				"}";
	}
}
